alert() Global Functionalert(text) Description The Alert global function opens an alert dialog which can contain a text alert. The user then has the option of clicking "okay" to close the window. Parameters
Example alert ( "Your pants are on fire."); |